projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266b441
)
oops, radians
author
parkrrrr
<parkrrrr>
Mon, 17 Apr 2006 15:53:26 +0000
(15:53 +0000)
committer
parkrrrr
<parkrrrr>
Mon, 17 Apr 2006 15:53:26 +0000
(15:53 +0000)
trackfilter.c
patch
|
blob
|
history
diff --git
a/trackfilter.c
b/trackfilter.c
index 558a12f395439903c5086cabee1f63a140868f86..02254355795ba01517c15c56489ea73067f60099 100644
(file)
--- a/
trackfilter.c
+++ b/
trackfilter.c
@@
-637,8
+637,9
@@
trackfilter_synth(void)
}
else {
if ( opt_course ) {
- wpt->course = heading( oldlat, oldlon,
- wpt->latitude, wpt->longitude );
+ wpt->course = DEG(heading( RAD(oldlat),
+ RAD(oldlon),RAD(wpt->latitude),
+ RAD(wpt->longitude) ));
}
if ( opt_speed ) {
if ( oldtime != wpt->creation_time ) {